﻿<html>
	<head>
		<title>Sunny URL Shortener</title>
		<meta http-equiv="Content-type" content="text/html;charset=utf-8" />
		<meta http-equiv="Content-Language" content="zh-CN" />
		<style type = "text/css">
			* {
				font-family: 'comic sans MS';
			}
		</style>
	</head>
	
  	<body>
  	
  		<form action="/shorturl" method="post">
     		<div>请输入想要短地址(不含Host名，可选)：</div><input type="text" name="shortUrl" size="7"></div>
     		<div>请输入待缩短地址：</div><input type="text" name="originalUrl" size="100"></div>
			<div><input type="hidden" name = "viewAs" value = "html"></div>
			<div><input type="submit" value="Short it!"></div>
    	</form>
    	<p>	
		{% if msg  %}
			{{msg}}
		{% endif %}
		</p>
    
  	</body>
</html>